﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data;

namespace Business
{
  public  class NumberIdService
    {
      public static int LastNumberByTenBang(string tenbang)
      {
          return NumberIdRepository.LastNumberByTenBang(tenbang);
      }
      public static int MaBangByTenBang(string tenbang)
      {
          return NumberIdRepository.MaBangByTenBang(tenbang);
      }
      public static void Update(string tenbang)
      {
          NumberIdRepository.Update(tenbang);
      }
      public static int NewNumber(string tenbang)
      {
          return NumberIdRepository.NewNumber(tenbang);
      }
    }
}
